package com.icefish.bean;

import java.util.Date;

/**
 * Description: 表orders
 * Date: 2022/11/30 23:07
 * Author: 26480
 * @since JDK 1.8
 */
public class Order {
    // 属性
    private Integer order_id;
    private Date order_time;
    private Integer order_count;
    private Integer order_amount;
    private Integer user_id;
    private String username;
    private Integer goods_id;
    private String goods_name;
    private Integer goods_price;
    private String goods_picture;
    private String goods_describe;
    private String says;

    // 构造器

    public Order() {
    }

    public Order(Integer order_id, Date order_time, Integer order_count, Integer order_amount, Integer user_id, String username, Integer goods_id, String goods_name, Integer goods_price, String goods_picture, String goods_describe) {
        this.order_id = order_id;
        this.order_time = order_time;
        this.order_count = order_count;
        this.order_amount = order_amount;
        this.user_id = user_id;
        this.username = username;
        this.goods_id = goods_id;
        this.goods_name = goods_name;
        this.goods_price = goods_price;
        this.goods_picture = goods_picture;
        this.goods_describe = goods_describe;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Date getOrder_time() {
        return order_time;
    }

    public void setOrder_time(Date order_time) {
        this.order_time = order_time;
    }

    public Integer getOrder_count() {
        return order_count;
    }

    public void setOrder_count(Integer order_count) {
        this.order_count = order_count;
    }

    public Integer getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(Integer order_amount) {
        this.order_amount = order_amount;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public Integer getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(Integer goods_price) {
        this.goods_price = goods_price;
    }

    public String getGoods_picture() {
        return goods_picture;
    }

    public void setGoods_picture(String goods_picture) {
        this.goods_picture = goods_picture;
    }

    public String getGoods_describe() {
        return goods_describe;
    }

    public void setGoods_describe(String goods_describe) {
        this.goods_describe = goods_describe;
    }

    public String getSays() {
        return says;
    }

    public void setSays(String says) {
        this.says = says;
    }

    @Override
    public String toString() {
        return "Order{" +
                "order_id=" + order_id +
                ", order_time=" + order_time +
                ", order_count=" + order_count +
                ", order_amount=" + order_amount +
                ", user_id=" + user_id +
                ", username='" + username + '\'' +
                ", goods_id=" + goods_id +
                ", goods_name='" + goods_name + '\'' +
                ", goods_price=" + goods_price +
                ", goods_picture='" + goods_picture + '\'' +
                ", goods_describe='" + goods_describe + '\'' +
                ", says='" + says + '\'' +
                '}';
    }
}
